TOP
SERVICES
Tik Tok
Tik Toker養成所
Instagram
Twitter
Youtube
Web Promotion
NEWS
MAGAZINE
WORKS
ABOUT
CONTACT
SERVICES
Tik Tok
Tik Toker養成所
Instagram
Twitter
Youtube
Web Promotion
NEWS
MAGAZINE
WORKS
ABOUT
CONTACT
$paged, //「現在のページ番号」はここでも指定する 'posts_per_page' => 1, /* その他のプロパティの指定など... */ 'post_status'=>'publish', 'post_type' => 'news', ); $the_query = new WP_Query( $args ); if ( $the_query->have_posts() ) : while ( $the_query->have_posts() ) : $the_query->the_post(); ?>
max_num_pages, $paged ,$url); //$wp_query ではなく $the_query ないことに注意! endif; wp_reset_postdata(); ?>